import {
    Entity,
    PrimaryGeneratedColumn,
    Column,
    BeforeInsert
} from 'typeorm';
import * as bcrypt from 'bcryptjs'

@Entity('im_chat_user_rooms') // 指定表名称为 'im_chat_user_rooms'
export class ChatUserRooms {
    @Column({ comment: '聊天室id', })
    chatroom_id: string;
    @Column({ comment: '创建者id', })
    user_id: string;

}



